    <div class="menu1">
        <ul class="menu1_liste">
            <li><a href="/home/">Inicio</a></li>
        </ul>
    </div>
    <br />

    {%if course%}
        {%if group%}
            <div class="menu1">
                <ul class="menu1_liste">
                    <li><a href="/course/{{course.code}}/{{group.code}}/">{{course.name|capfirst}}::{{group.code}}</a></li>
                    <li class="submenu"><a href="/news/{{course.code}}/{{group.code}}/">Noticias</a></li>
                    <li class="submenu"><a href="/forum/{{course.code}}/{{group.code}}/">Foro</a></li>
                    <li class="submenu"><a href="/viewVideoMenu/{{course.code}}/{{group.code}}/">Videos</a></li>
                    <li class="submenu"><a href="/fileMenu/{{course.code}}/{{group.code}}/">Recursos</a></li>
                    <li class="submenu"><a href="/calificaciones/{{course.code}}/{{group.code}}/">Calificaciones</a></li>
                    <li class="submenu"><a href="/temario/{{course.code}}/{{group.code}}/">Temario</a></li>
                    <li class="submenu"><a href="/tareas/{{course.code}}/{{group.code}}/">Tareas</a></li>
                    <li class="submenu"><a href="/alumnos/{{course.code}}/{{group.code}}/">Alumnos</a></li>
                    <li class="submenu"><a href="/retroalimentaciones/{{course.code}}/{{group.code}}/">Retroalimentaciones</a></li>
                    <li class="submenu"><a href="/editarPreferencias/{{course.code}}/{{group.code}}/">Preferencias</a></li>
                </ul>
            </div>
            <br />

            {%if groupList%}
                <div class="menu1">
                    <ul class="menu1_liste">
                        <li><a href="/verCursos/">Mis cursos</a></li>
                        {%for gp in groupList%}
                            {%ifnotequal gp group%}
                                <li class="submenu"><a href="/course/{{gp.course.code}}/{{gp.code}}/">{{gp.course.name|capfirst}} - {{gp.code}}</a></li>
                            {%endifnotequal%}
                        {%endfor%}
                    </ul>
                    <ul class="menu1_liste">
                        <li class="submenu"><a href="/registrarGrupo/">Agregar un curso</a></li>
                    </ul>
                </div>

            {%endif%}
        {%endif%}
    {%else%}
        <div class="menu1">
            <ul class="menu1_liste">
                <li class="nolink">Mis cursos</li>
                {%if groupList%}
                    {%for gp in groupList%}
                        <li class="submenu"><a href="/course/{{gp.course.code}}/{{gp.code}}/">{{gp.course.name|capfirst}}::{{gp.code}}</a></li>
                    {%endfor%}
                {%endif%}
            <ul class="menu1_liste">
                <li class="submenu"><a href="/registrarGrupo/">Agregar un curso</a></li>
            </ul>
            </ul>
        </div>
    {%endif%}

